<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Opens a new CrackLib dictionary</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.crack-opendict" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">crack_opendict</h1>
  <p class="verinfo">(PECL crack &gt;= 0.1)</p><p class="refpurpose"><span class="refname">crack_opendict</span> &mdash; <span class="dc-title">Opens a new CrackLib dictionary</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.crack-opendict-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>crack_opendict</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$dictionary</code></span>
   ) : <span class="type">resource</span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>crack_opendict()</strong></span> opens the specified CrackLib 
   <code class="parameter">dictionary</code> for use with
   <span class="function"><a href="crack_check.html" class="function">crack_check()</a></span>.
  </p>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    Only one dictionary may be open at a time.
   </p>
  </p></blockquote>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.crack-opendict-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">dictionary</code></dt>

     <dd>

      <p class="para">
       The path to the Cracklib dictionary.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.crack-opendict-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a dictionary resource identifier on success 或者在失败时返回 <strong><code>FALSE</code></strong>.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.crack-opendict-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="crack_check.html" class="function" rel="rdfs-seeAlso">crack_check()</a> - 用给定的密码来进行破解测试</span></li>
    <li class="member"><span class="function"><a href="crack_closedict.html" class="function" rel="rdfs-seeAlso">crack_closedict()</a> - Closes an open CrackLib dictionary</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>